﻿using System.Windows.Forms;

namespace GUserInterface
{
    public delegate void PValueChangedHandler( string text );

    public partial class PropertyGrid : GToolbox
    {
        //public event PValueChangedHandler pvcehEvent;

        public PropertyGrid()
        {
            InitializeComponent();
            TabText = "Properties";
        }

        public System.Windows.Forms.PropertyGrid mPropertyGrid
        {
            get { return propertyGrid1; }
            set { propertyGrid1 = value; }
        }

        private void propertyGrid1_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
        {
            //  pvcehEvent(e.ChangedItem.Value.ToString());
        }
    }
}
